
package cfar.actors;

/**
 *
 * @author badi
 */
public abstract class Actor implements Runnable {

    protected abstract void act(Message msg);

    public void run(){
        run_actor();
    }


    protected void unknown_signal(Message msg){
        System.out.println("Unknown signal [" + msg.signal + "]");
    }


    protected abstract void run_actor();

}
